package dao;

import pojo.User;
import java.util.List;

/**
 * Created by zyb on 14-12-11.
 */
public interface UserDAO {
    List<User> findAll() throws Exception;
    User findById(Integer id) throws Exception;
    void save(User user) throws Exception;
    void delete(Integer id) throws Exception;
    void update(User user) throws Exception;
}
